package com.hcy.manager.dto.request;

import com.hcy.rabbitbasicmodel.signl.Add;
import com.hcy.rabbitbasicmodel.signl.Delete;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/4/27
 **/
@Data
public class CarLevelRequestDTO {


    @NotNull(groups = {Delete.class})
    private Integer id;

    /**
     * 车辆级别标签
     */
    @NotNull(groups = {Add.class})
    private String label;

    /**
     * 车型图标
     */
    @NotNull(groups = {Add.class})
    private String icon;
}
